/*
 * ChildBrowser.h
 *
 *  Created on: 2011. 4. 1.
 *      Author: JeeHoon
 */
#ifndef CHILDBROWSER_H
#define CHILDBROWSER_H

#include <FUix.h>
#include "Common.h"
#include "api/Plugin.h"

class PluginManager;

class ChildBrowser :
	public Plugin
{
public:
	ChildBrowser();
	~ChildBrowser();

	/* Plugin */
	virtual result OnConstruct(PluginManager * pPluginManager, Osp::Base::String pluginName);
	virtual result execute(Osp::Base::String action, Osp::Base::String args, Osp::Base::String callbackId);

	void OnLocationChange(Osp::Base::String url);
	void OnClose();
	void OnOpenExternal();
};

#endif //CHILDBROWSER_H
